package com.ruoyi.api.service;

import com.ruoyi.api.vo.Approval;

import java.util.List;
import java.util.Set;

public interface ApprovalService {

    boolean addApproval(Approval approval);

    List<Approval> selectApproval(Long userId);

    void updateApproval(Approval approval);

    List<Approval> selectAll();

    boolean deleteById(List<Long> id);

    void updateById(Long id, Integer state);

    String selectById(Long id);

    List<Long> selectByValue(String value);

    List<Approval> selectByCarInfo(Approval approval);

    void updateByIdEff(Long id);

    List<Approval> selectByCar(String carId,Long userId);

    List<String> selectByUserId(String userId);

    Set<String> selectByUserIds();
}
